package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.THealthmgrMapper;
import com.hu.zhcc.shiro.entity.lgx.THealthmgr;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ThealthmgerServiceImpl implements ThealthmgerService {
    @Autowired
    THealthmgrMapper tHealthmgrMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tHealthmgrMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(THealthmgr record) {
        return tHealthmgrMapper.insert(record);
    }

    @Override
    public int insertSelective(THealthmgr record) {
        return tHealthmgrMapper.insertSelective(record);
    }

    @Override
    public THealthmgr selectByPrimaryKey(Integer id) {
        return tHealthmgrMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(THealthmgr record) {
        return tHealthmgrMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(THealthmgr record) {
        return tHealthmgrMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<THealthmgr> thealthmgrList() {
        return tHealthmgrMapper.thealthmgrList();
    }
}
